package com.bdqn.dao;

import com.bdqn.dao.impl.BookDaoImpl;
import com.bdqn.pojo.Book;

import java.util.List;

public class Test {
    public static void main(String[] args) {
        BookDaoImpl bookDao = new BookDaoImpl();
        List<Book> bookList = bookDao.list();
        // 在这里对获取到的 bookList 进行处理，例如打印或进行其他操作
        for (Book book : bookList) {
            System.out.println(book);
        }
    }
}
